package com.xianyun.smartpicturebackend;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

//@EnableAspectJAutoProxy(exposeProxy = true) 开始Spring对对象的代理，可通过
//AopContext.currentProxy()获取当前类的代理对象
@SpringBootApplication
@MapperScan("com.xianyun.smartpicturebackend.mapper")
@EnableAspectJAutoProxy(exposeProxy = true)
public class SmartPictureBackendApplication {

    public static void main(String[] args) {
        SpringApplication.run(SmartPictureBackendApplication.class, args);
    }

}